package portal.monitor.dao.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import portal.monitor.dao.ModeRecord;
import portal.monitor.dao.ModeRecordExample;

public interface ModeRecordMapper {
    long countByExample(ModeRecordExample example);

    int deleteByExample(ModeRecordExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ModeRecord record);

    int insertSelective(ModeRecord record);

    List<ModeRecord> selectByExample(ModeRecordExample example);

    ModeRecord selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ModeRecord record, @Param("example") ModeRecordExample example);

    int updateByExample(@Param("record") ModeRecord record, @Param("example") ModeRecordExample example);

    int updateByPrimaryKeySelective(ModeRecord record);

    int updateByPrimaryKey(ModeRecord record);
    
    int deleteByIP(String ip);
    
}